import { inject, injectable } from "inversify";
import { Resource } from "../../common/types";
import { EQEnvironment } from "../../eqEnvironments/info";
import { IInterpreterHelper } from "../contracts";
import { IInterpreterComparer } from "./types";

@injectable()
export class EnvironmentTypeComparer implements IInterpreterComparer {

    private workspaceFolderPath: string;

    constructor(@inject(IInterpreterHelper) private readonly interpreterHelper: IInterpreterHelper) {
        this.workspaceFolderPath = this.interpreterHelper.getActiveWorkspaceUri(undefined)?.folderUri.fsPath ?? '';
    }

    compare(a: EQEnvironment, b: EQEnvironment): number {
        throw new Error("43Method not implemented.");
    }
    getRecommended(interpreters: EQEnvironment[], resource: Resource): EQEnvironment | undefined {
        throw new Error("44Method not implemented.");
    }
}